<template>
  <div class="scroll-wrapper" ref="wrapper">
      <div class="scroll-content">
          <div v-if="data.viewDatas || data.viewDatas.length > 0">

          </div>
      </div>
  </div>
</template>

<script>
import BetterScroll from 'better-scroll';

import ViewList from './ViewList/Index';
import FoodList from './FoodList/Index';
import HotelList from './HotelList/Index';
import MassageList from './MassageList/Index';
import KtvList from './KtvList/Index';

export default {
  name: 'SearchScrollWrapper',
  components: {
      ViewList,
      FoodList,
      HotelList,
      MassageList,
      KtvList
  },
  props: {
      data: Object
  },
  updated () {
      this.scroll = new BetterScroll(this.$refs.wrapper)
  }
}
</script>

<style lang="scss" scoped>

</style>